﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace WJP.DataPortal
{
    /// <summary>
    /// 数据门户异常
    /// </summary>
    [Serializable]
    public class DataPortalException : AppException
    {
        /// <summary>
        ///
        /// </summary>
        public DataPortalException()
        {
        }

        /// <summary>
        ///
        /// </summary>
        /// <param name="message"></param>
        public DataPortalException(string message)
          : base(message)
        {
        }

        /// <summary>
        ///
        /// </summary>
        /// <param name="message"></param>
        /// <param name="inner"></param>
        public DataPortalException(string message, Exception inner)
          : base(message, inner)
        {
        }

        /// <summary>
        ///
        /// </summary>
        /// <param name="info"></param>
        /// <param name="context"></param>
        protected DataPortalException(SerializationInfo info, StreamingContext context)
          : base(info, context)
        {
        }
    }
}
